package com.example.demo.service;

import com.example.demo.exception.MyUncheckedException;
import com.example.demo.pojo.dto.ExamPaperDTO;
import com.example.demo.pojo.entity.ExamPaper;
import com.example.demo.pojo.entity.ExamPaperFile;
import com.example.demo.pojo.vo.ExamPaperVO;
import com.example.demo.pojo.vo.PageBankShowVO;

import java.util.List;

/**
 * @author fjh
 */
public interface IExamPaperService {
    ExamPaper createPaper(ExamPaperDTO examPaperDTO);

    List<PageBankShowVO> initByFile(Integer subjectId,Integer categoryId);

    List<PageBankShowVO> initByLabel(Integer subjectId,Integer categoryId);

    List<PageBankShowVO> initByFl(Integer subjectId,Integer categoryId);

    boolean delete(int paperId);

    ExamPaper copyExamPaper(int examPaperId, int goalExamFileId);

    ExamPaperFile shiftExamPaper(int examPaperId, int goalExamFileId);

    ExamPaperVO searchById(int examPaperId) throws MyUncheckedException;
}
